package com.itheima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.itheima.dao")//指定扫描的dao层（底层会构建dao层的bean对象交由springboot的IOC容器）
@EnableTransactionManagement //开启事务管理支持
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
